package com.jcark.ui.view.textview;

/**
 * 可滚动数字的textview
 */
public interface IRiseNumber {
    void start();

    RiseNumberTextView withNumber(double number);

    RiseNumberTextView withNumber(float number, boolean flag);

    RiseNumberTextView withNumber(int number);

    RiseNumberTextView setDuration(long duration);

    void setOnEnd(RiseNumberTextView.EndListener callback);
}